<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: extern/libembroidery/src/geometry/circle.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('circle_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">circle.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &quot;<a class="el" href="embroidery_8h_source.html">../embroidery.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa633592d2901b0f510920d9c658fb88b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="circle_8c.html#aa633592d2901b0f510920d9c658fb88b">embCircle_init</a> (void)</td></tr>
<tr class="separator:aa633592d2901b0f510920d9c658fb88b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b1865f7a240f8800e32f4320f7879ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="circle_8c.html#a5b1865f7a240f8800e32f4320f7879ea">embCircle_area</a> (<a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> circle)</td></tr>
<tr class="separator:a5b1865f7a240f8800e32f4320f7879ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8491bab7af8df0f6f297ff4de0fe3524"><td class="memItemLeft" align="right" valign="top"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="circle_8c.html#a8491bab7af8df0f6f297ff4de0fe3524">embCircle_circumference</a> (<a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> circle)</td></tr>
<tr class="separator:a8491bab7af8df0f6f297ff4de0fe3524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02d84117276c09a6d557ee1b64e6cf7f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="circle_8c.html#a02d84117276c09a6d557ee1b64e6cf7f">getCircleCircleIntersections</a> (<a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> c0, <a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> c1, <a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *p0, <a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *p1)</td></tr>
<tr class="separator:a02d84117276c09a6d557ee1b64e6cf7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adda14071875745c5b1610ec895db46a0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="circle_8c.html#adda14071875745c5b1610ec895db46a0">getCircleTangentPoints</a> (<a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> c, <a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> point, <a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *t0, <a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *t1)</td></tr>
<tr class="separator:adda14071875745c5b1610ec895db46a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a5b1865f7a240f8800e32f4320f7879ea" name="a5b1865f7a240f8800e32f4320f7879ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b1865f7a240f8800e32f4320f7879ea">&#9670;&nbsp;</a></span>embCircle_area()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> embCircle_area </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>circle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8491bab7af8df0f6f297ff4de0fe3524" name="a8491bab7af8df0f6f297ff4de0fe3524"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8491bab7af8df0f6f297ff4de0fe3524">&#9670;&nbsp;</a></span>embCircle_circumference()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> embCircle_circumference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>circle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa633592d2901b0f510920d9c658fb88b" name="aa633592d2901b0f510920d9c658fb88b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa633592d2901b0f510920d9c658fb88b">&#9670;&nbsp;</a></span>embCircle_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> embCircle_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a02d84117276c09a6d557ee1b64e6cf7f" name="a02d84117276c09a6d557ee1b64e6cf7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02d84117276c09a6d557ee1b64e6cf7f">&#9670;&nbsp;</a></span>getCircleCircleIntersections()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getCircleCircleIntersections </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>c0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *&#160;</td>
          <td class="paramname"><em>p0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *&#160;</td>
          <td class="paramname"><em>p1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adda14071875745c5b1610ec895db46a0" name="adda14071875745c5b1610ec895db46a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adda14071875745c5b1610ec895db46a0">&#9670;&nbsp;</a></span>getCircleTangentPoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getCircleTangentPoints </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a>&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *&#160;</td>
          <td class="paramname"><em>t0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a16fa26764453571074cb85a7574738d4">EmbVector</a> *&#160;</td>
          <td class="paramname"><em>t1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_dc9e1e299a0b26f222fe6c0a872463f0.html">extern</a></li><li class="navelem"><a class="el" href="dir_6a8aa8af2875e58e82a0145491f7a8e2.html">libembroidery</a></li><li class="navelem"><a class="el" href="dir_50a7dc5dba8160ac8332d90912e622db.html">src</a></li><li class="navelem"><a class="el" href="dir_d5dfb2055b0c9abc7442cd9e132844b4.html">geometry</a></li><li class="navelem"><a class="el" href="circle_8c.html">circle.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
